package Demo06;



import java.util.Scanner;

public class Demo06ScannerMax {
    public static void main(String[] args) {
        Scanner sc = new Scanner(System.in);
        System.out.println("请输入您要输入的第一个是数字：");
        int a = sc.nextInt();
        System.out.println("请输入您要输入的第二个是数字：");
        int b = sc.nextInt();
        System.out.println("请输入您要输入的第三个是数字：");
        int c = sc.nextInt();
        int t = a > b ? a : b;
        int max = t > c ? t:c;
        System.out.println(max);
    }


}
